﻿namespace Baddies.Events
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Arguments for a console message.
    /// </summary>
    public class ConsoleMsgArg : EventArgs
    {
        /// <summary>
        /// Text of the message.
        /// </summary>
        private string text;

        /// <summary>
        /// Gets or sets the text of the message.
        /// </summary>
        /// <value>String of the message.</value>
        public string Text
        {
            get { return this.text; }
            set { this.text = value; }
        }

        /// <summary>
        /// String representation of the class.
        /// </summary>
        /// <returns>String of the class.</returns>
        public override string ToString()
        {
            return "ConsoleMsg: " + this.text;
        }
    }
}
